for /f %f in ('lib /list libajsc.lib') do lib /extract:%f libajsc.lib